import request from './request/index.js'

const apiIfaFileVidTrans = (d) => request({ method: 'post', url: '/infra/file/videoTranscoding', data: d, headers: {'Content-Type': 'multipart/form-data; boundary=something'}, timeout: 0 }) // 视频转码
const apiIfaFileMscTrans = (d) => request({ method: 'post', url: '/infra/file/musicTranscoding', data: d, headers: {'Content-Type': 'multipart/form-data; boundary=something'}, timeout: 0 }) // 音乐转码
const apiIfaFileInspTrans = (d) => request({ method: 'post', url: '/infra/file/inspirationTranscoding', data: d, headers: {'Content-Type': 'multipart/form-data; boundary=something'}, timeout: 0 }) // 灵感转码
const apiIfaFileImgTrans = (d) => request({ method: 'post', url: '/infra/file/imageTranscoding', data: d, headers: {'Content-Type': 'multipart/form-data; boundary=something'}, timeout: 0 }) // 图片转码
export const ApiIfaFile = {
  VidTrans: apiIfaFileVidTrans,
  MscTrans: apiIfaFileMscTrans,
  InspTrans: apiIfaFileInspTrans,
  ImgTrans: apiIfaFileImgTrans,
}
